$(function(){
	$('.btn-view').click(function(){
		viewScore($(this).parents('tr').attr('data-stuNo'));
	});
	
	$('.btn-img-view').click(function(){
		viewImage($(this).parents('tr').attr('data-stuNo'));
	});
});

function viewScore(stuNo){
	layer.open({
		title : '查看客观题考生分数明细',
		type : 2,
		area : [ '600px', '500px' ],
		content : rootPath + '/manage/markingPaper/objective/viewObjectiveScoreDetailUI?tempId='+tempId+'&stuNo='+stuNo
	});
}

function viewImage(stuNo){
	layer.open({
		title : '查看客观题原图',
		type : 2,
		area : [ '600px', '500px' ],
		content : rootPath + '/manage/markingPaper/objective/viewObjectiveImageUI?tempId='+tempId+'&stuNo='+stuNo
	});
}